package com.fs.base.test;

import org.junit.Test;

/**
 * @author shuai.fang
 * @date：2017-04-01
 * @description：
 */
public class ArrayEquals {

	@Test
	public void testArrayEquals() {
		Integer[] o1 = new Integer[] {1, 2, 3};
		Integer[] o2 = new Integer[] {1, 2, 3};
		Integer o3 = new Integer(5);

		System.out.println(((Object) o1).getClass().isArray());
		System.out.println(o3.getClass().isArray());

		System.out.println(((Object) o1).equals(o2));
	}

}
